#ifndef __SPEAK_H
#define __SPEAK_H

int func_send_frame(int fd, const unsigned char* p_send_buff, const int count);
int func_receive_frame(int fd, unsigned char* p_receive_buff, const int count);
int uart_open();
int utf8_to_gb2312(const char* inbuf, size_t inlen, char** outbuf, size_t* outlen);
unsigned char* utf8Tran(const char* inputString, size_t* outLength);
int menu_send(char* category, char* check_result);
int food_send(const char* recommended_dish, const char* user_preferences);
int aht20_send(float temp, float hum);
int his_send(const char* his_dish);

#endif // !1
